package main

import (
	"github.com/gin-gonic/gin"
	"zk2/api"
	"zk2/config"
	"zk2/inits"
)

func main() {

	config.Init()
	inits.MysqlInit()

	router := gin.Default()

	api.LoadRouter(router)
	router.Run() // 监听并在 0.0.0.0:8080 上启动服务
}
